package com.yzy.soft.common.persistence.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author yinzhiyuan
 * @since 2018-02-04
 */
public class Pdmuploadlog extends Model<Pdmuploadlog> {

    private static final long serialVersionUID = 1L;

	private String id;
	private String name;
	private String size;
	private String serverfilename;
	private String serverpath;
	private Integer flag;
	private String userid;
	private String username;
	private String remark;
	private Date create;
	private Date update;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getServerfilename() {
		return serverfilename;
	}

	public void setServerfilename(String serverfilename) {
		this.serverfilename = serverfilename;
	}

	public String getServerpath() {
		return serverpath;
	}

	public void setServerpath(String serverpath) {
		this.serverpath = serverpath;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreate() {
		return create;
	}

	public void setCreate(Date create) {
		this.create = create;
	}

	public Date getUpdate() {
		return update;
	}

	public void setUpdate(Date update) {
		this.update = update;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Pdmuploadlog{" +
			"id=" + id +
			", name=" + name +
			", size=" + size +
			", serverfilename=" + serverfilename +
			", serverpath=" + serverpath +
			", flag=" + flag +
			", userid=" + userid +
			", username=" + username +
			", remark=" + remark +
			", create=" + create +
			", update=" + update +
			"}";
	}
}
